<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: Action.php 2011-04-26 11:18:13 michael $
 * @author     Michael
 */

/**
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

class Wall_Model_Action extends Activity_Model_Action {
	public $grouped_subjects = array ();
	
	public function getContent() {
		$model = Engine_Api::_ ()->getApi ( 'core', 'wall' );
		$params = array_merge ( $this->toArray (), ( array ) $this->params, array ('subject' => $this->getSubject (), 'object' => $this->getObject () ) );
		//$content = $model->assemble($this->body, $params);
		$content = $model->assemble ( $this->getTypeInfo ()->body, $params, $this );
		return $content;
	}
	
	public function getType() {
		return 'activity_action';
	}

}